package org.lqq.serverRegisterAndFinder.etcd;

public class EtcdNode {

    private String key;

    private boolean dir;

    private String expiration;

    private Integer ttl;

    private Integer modifiedIndex;

    private Integer createdIndex;

    private String value;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public boolean isDir() {
        return dir;
    }

    public void setDir(boolean dir) {
        this.dir = dir;
    }

    public String getExpiration() {
        return expiration;
    }

    public void setExpiration(String expiration) {
        this.expiration = expiration;
    }

    public Integer getTtl() {
        return ttl;
    }

    public void setTtl(Integer ttl) {
        this.ttl = ttl;
    }

    public Integer getModifiedIndex() {
        return modifiedIndex;
    }

    public void setModifiedIndex(Integer modifiedIndex) {
        this.modifiedIndex = modifiedIndex;
    }

    public Integer getCreatedIndex() {
        return createdIndex;
    }

    public void setCreatedIndex(Integer createdIndex) {
        this.createdIndex = createdIndex;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
